﻿/// -----------------------------------------------------------------
/// Bookmark.cs: data object view for Bookmark operation
/// License: see http://mve.codeplex.com/license; All Rights follows the MS-PL
/// Current owner: shiniwa
/// The project decription: please refer to http://codeplex.com/mve/
/// -----------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MVEContentSvc.BookmarkOperations
{
    /// <summary>
    /// Object view of a Bookmark entry in the Database.
    /// Use this class to represent a single Bookmark from the Databse.
    /// </summary>
    internal class Bookmark : IComparable<Bookmark>
    {
        public int Id { get; set; }
        public int SegmentId { get; set; }
        public int UserId { get; set; }

        #region IComparable<Bookmark> Members

        public int CompareTo(Bookmark other)
        {
            return this.Id.CompareTo(other.Id);
        }

        #endregion
    }
}
